package com.jeespring.service;

import com.jeespring.dto.ResponseDTO;
import com.jeespring.entity.Account;

import java.util.List;

/**
 * @Title: AccountService
 * @Description:
 * @Author 张朝阳
 * @Date 2020/11/29 13:34
 */
public interface AccountService {
    /**
     * 查询账户
     */
    List<Account> query(Account account);
    /**
     * 从账户扣钱
     */
    ResponseDTO decreaseAccount(Account account);
}
